import Vue from 'vue'
import App from './App.vue'
import router from './router'

import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts

import darks from '@/assets/dark.json'

var myEcharts = function(mm,nn){
  echarts.registerTheme('vintage', darks);
  return echarts.init(document.getElementById(mm));
}
Vue.prototype.$myEcharts = myEcharts


Vue.config.productionTip = false


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')